-
Notifications
You must be signed in to change notification settings - Fork 796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hibernate order hw implementation #769
base: master
Are you sure you want to change the base?
Hibernate order hw implementation #769
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
src/main/java/mate/academy/Main.java
Outdated
String email = "testemail@email.com"; | ||
String password = "testpassword"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make it constants
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 👍
src/main/resources/hibernate.cfg.xml
Outdated
<property name="connection.username">root</property> | ||
<property name="connection.password">0000</property> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<property name="connection.username">root</property> | |
<property name="connection.password">0000</property> | |
<property name="connection.username"></property> | |
<property name="connection.password"></property> |
Don't pass your credentials
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GJ!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
@OneToMany | ||
private List<Ticket> tickets; | ||
|
||
private LocalDateTime orderDateTime; | ||
|
||
@ManyToOne |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please specify joinColumn
… annotation to the LocalDateTime field
…Sharshon/hibernate-order-hw into hibernate-order-hw-impl
No description provided.